<style>
#reportUgovoriVraceni label{
	display:block;
	float:left;
	text-align:right;
	padding-top:8px;
	margin-left:20px;
}
#reportUgovoriVraceni .info{
	font-size:10px;
	color:#777;
	float:left;
	margin:40px 0px 0px 10px;
}
#reportUgovoriVraceni table{
	border-left:1px solid #aaa;
}
#reportUgovoriVraceni table tr.head,
#reportUgovoriVraceni table tr:hover{
	background:#2577BA;
	color:#fff;
}
#reportUgovoriVraceni table tr td{
	padding:5px;
	border-right:1px solid #aaa;
	border-bottom:1px solid #aaa;
}
</style>
<div id="reportUgovoriVraceni">
<h1>Vraćeni ugovori</h1>
<form class="area1" action="javascript:void(0)" onsubmit="submitForm(this,'ugovori.php','POST','setContent')">
	
	<input type="hidden" name="a" value="report" />
	<input type="hidden" name="t" value="21" />
	
	<label for="filter_br_ugo">Broj ugovora:</label>
	<input type="text" name="filter_br_ugo" value="{{$filter_br_ugo}}" />
	
	<label for="filter_radnik">Radnik:</label>
	<select name="filter_radnik" id="filter_radnik">
		<option value="-1">---</option>
		{{%loop start filter_radnik_id}}
		<option value="{{$filter_radnik_id}}" {{$filter_radnik_selected}}>{{$filter_radnik_ime}}&nbsp;{{$filter_radnik_prezime}}</option>
		{{%loop end}}
	</select>
	
	<input type="submit" id="filter_btn" value="filter" />
</form>
<div class="info">{{$info}}</div>
<div class="area" style="clear:both; margin-top:2px;">
{{$comment_start}}
<table>
	<tr class="head">
		<td>ugovor</td>
		<td>datum ulaza</td>
		<td>radnik</td>
		<td>datum</td>
		<td>status</td>
		<td>komentar</td>
	</tr>
	{{%loop start row_id}}
	<tr>
		<td>{{$br_ugovora}}</td>
		<td>{{$datum_ulaza}}</td>
		<td>{{$radnik}}</td>
		<td>{{$datum}}</td>
		<td align="center" title="{{$status_title}}"><img alt="{{$status_title}}" src="{{$status}}" /></td>
		<td>{{$komentar}}</td>
	</tr>
	{{%loop end}}
</table>
{{$comment_end}}
</div>
</div>